Part Number Hot Search : 
33405 AN6175K MC14514 GM965 GM965 KBJ10 TT2129 AN6175K
Product Description
Full Text Search
 

To Download ISPPAC30-01P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  www.latticesemi.com 1 pac30_01 isppac30 in-system programmable analog circuit october 2001 preliminary data sheet features flexible interface and programming control ? full con guration capability, spi or jtag modes ? unlimited device updates using sram register ?e 2 cmos ? for non-volatile con guration storage ? real-time microcontroller con guration/control four input instrumentation ampli ers (ia?s) ? high impedance: differential or single-ended ? 0v to 2.8v with programmable gains (1 to 10) ? dual multiplexers (pin or serial port controlled) ? connects easily to existing system circuits two con gurable rail-to-rail output amps ? single-ended, 0v to 5v output swing ? gain bandwidth product >15mhz ? ampli er, lter, integrator or comparator modes ?7 lter frequencies (50khz to 600khz) tw o, 4-quadrant 8-bit multiplying dac?s ? full bandwidth when used as a multiplier ? precision gain (<0.01 steps) with signal as input ? precision offset (in 7 ranges) using internal vref analog input/summation routing pools ? routing of all i/o to any ia or mdac ?a ny ia/mdac summed to either output ampli er ? circuits with and without feedback possible ? routable to maintain pin location relationships other product features ? single supply (+5v) operation ? precision voltage reference output (2.5v) ?p ow er-down for w att power consumption ?a uto-calibration of internal offsets ?a v ailable in 28-pin pdip or 24-pin soic applications ? recon gurable or adaptive signal conditioning ? analog front end for most a/d converters ? programmable analog signal control loops ? precision programmable gain ampli ers functional block diagram description the isppac ? 30 is a member of the lattice family of in- system programmable (isp?) analog integrated cir- cuits. it is digitally con gured via sram and utilizes e 2 cmos memory for non-volatile storage of its con gu- r ation. the e xibility of isp enables programming, veri - cation and unlimited recon guration, directly on the printed circuit board. the isppac30 is a complete front end solution for data acquisition applications using 10 to 12-bit adc's. it pro- vides multiple single-ended or differential signal inputs, m ultiplexing, precision gain, offset adjustment, ltering, and comparison functionality. it also has complete routability of inputs or outputs to any input cell and then from any input cell to either summing node of the two output ampli ers. designers con gure the isppac30 and verify its performance using pac-designer ? , an easy to use, microsoft windows ? compatible develop- ment tool. device programming is supported using pc parallel port i/o operations. dual 12-bit adc controller isppac30 vin2 vin1 vin3 gnd 12 11 10 9 8 7 6 5 4 3 2 1 13 14 15 16 17 18 19 20 21 22 23 24 cal msel2 msel1 tck tdi tdo tms enspi vs in4- in4+ in3- in3+ scom out2 out1 in2- in2+ in1- in1+ pd cs isppac30 24-pin soic vref1 ia mdac mdac ia ia vref2 oa compare integrate amplify filter oa compare integrate amplify filter summation routing pool input/output routing pool ia jtag/spi interface logic & configuration memory auto-calibration 2.5v reference vrefout
lattice semiconductor isppac30 preliminary data sheet 2 electrical characteristics ta = 25c; v s = 5.0v; 0v < v in < 2.8v; gain = 1; output load = 50pf, 1k ? ? ? ? . ia1, ia2, mdac1 connected to oa1 and ia3, ia4, mdac2 connected to oa2. v out biased to swing from 0.5 to 4.5v. auto-cal initiated immediately prior. (unless other- wise speci ed). symbol parameter condition min. typ. max. units analog input v in (1) input voltage range applied to either v in+ or v in- 0 2.8 v v in-diff (2) differential voltage swing 2 |v in+ - v in- | 5.6 v v os (3) differential offset voltage (input referred) g=1 1 2 mv g = 10 100 v ? v os / ? t differential offset drift -40 c to +85 c; any gain, input referred 50 v/ c r in input resistance 10 9 ? c in input capacitance 2 pf i b input bias current (at dc) at 25 c1pa at 85 c 200 pa e n input noise voltage density at 10khz, referred to input, g=10 70 analog output v oh output voltage swing high i l = 250 a 4.95 4.97 v i l = 5ma 4.50 4.65 v v ol output voltage swing low i l = -250 a 0.03 0.05 v i l = -5ma 0.11 0.15 v i sc short circuit current short to ground; v out = 4.9v 25 35 ma i out maximum output current see graph in typical performance curves 30 ma static performance g programmable gain range individual input ampli t er gain 0 20 db gain error v out = 0.5v to 4.5v 1 3 % input gain matching any two inputs; any output 1 3 % ? g/ ? t gain drift -40 c to +85 c3 5 ppm/ c psr power supply rejection at 10khz 74 db reference output (vref out ) vref out reference output range nominally 2.500v; i load = 0 -0.2 0.2 % iref out reference output current (vref out change = -1%) source 40 a (vref out change = +1%) sink -350 a reference output drift -40 to +85 c 100 ppm/ c reference output noise 100khz bandwidth 40 v rms po w er supply rejection 1khz 80 db comparator mode performance comparator switching time 10mv overdrive 4.0 s 100mv overdrive 2.5 s overload recovery time 2.8v overload 3.0 s nv/ hz
lattice semiconductor isppac30 preliminary data sheet 3 electrical characteristics, continued ta = 25c; v s = 5.0v; 0v < v in < 2.8v; gain = 1; output load = 50pf, 1k ? ? ? ? . ia1, ia2, mdac1 connected to oa1 and ia3, ia4, mdac2 connected to oa2. v out biased to swing from 0.5 to 4.5v. auto-cal initiated immediately prior. (unless other- wise speci ed). symbol parameter condition min. typ. max. units mdac pacell performance resolution 7+sign bits inl integral non-linearity 0.25 0.5 lsb dnl differential non-linearity guaranteed monotonic -1 lsb v os offset voltage 3mv gain error 13 % input bandwidth (f 3db )v in = 3vp-p; v cm = 1.4v0.75v 1.25 1.6 mhz internal voltage reference performance v ref1 /v ref2 v oltage output 64mv setting 56 64 72 mv 128mv setting 120 128 136 mv 256mv setting 246 256 266 mv 512mv setting 500 512 524 mv 1024mv setting 1000 1024 1048 mv 2048mv setting 2000 2048 2096 mv 2.500v setting 2.450 2.500 2.550 v dynamic performance snr signal to noise (4) 0.1hz to 114khz 83 db thd total harmonic distortion f in = 10khz -85 -74 db v out = 4vpk (0.5v to 4.5v) f in = 100khz -75 -60 db cmr common mode rejection 10khz 75 db (v in = 0v to 2.8v) (5) 100khz 65 db bw small signal bandwidth all gains, minimum feedback capacitor 1 1.57 mhz bw fp full power bandwidth all gains 1.1 mhz sr slew rate all gains 10 15 v/ s t s settling time, 0.1% 4v output step, low to high 2 4 s v out = 4vpk (0.5v to 4.5v) 4v output step, high to low 4 8 s crosstalk (6) r l = 1k ? , f in = 10khz -100 db filter characteristics f c corner frequency range (7) 49 619 khz |f c | corner frequency accuracy deviation from calculated -3db point 3 5 % ? f c / ? t corner frequency drift -40 c + 0 +85 c 0.05 %/ c digital i/o v il input low voltage 0 0.8 v v ih input high voltage 2 v s v
lattice semiconductor isppac30 preliminary data sheet 4 electrical characteristics, continued ta = 25c; v s = 5.0v; 0v < v in < 2.8v; gain = 1; output load = 50pf, 1k ? ? ? ? . ia1, ia2, mdac1 connected to oa1 and ia3, ia4, mdac2 connected to oa2. v out biased to swing from 0.5 to 4.5v. auto-cal initiated immediately prior. (unless other- wise speci ed). symbol parameter condition min. typ. max. units digital i/o (continued) i il , i ih input leakage current no pull-up/pull-down 10 a with pull-up/pull-down (8) 50 a hysteresis schmitt trigger 250 mv v ol output low voltage (tdo) i ol = 4.0ma 0.4 v v oh output high voltage (tdo) i oh = -1.0ma 2.4 v programming and calibration erase/reprogram cycles for e 2 cmos cells 10k 1m cycles calibration cycle time initial turn on 140 250 ms subsequent user initiated 50 100 po wer supplies v s operating supply voltage 4.75 5 5.25 v i s supply current (8) v s = 5.0v 10 15 ma p d po w er dissipation (9) v s = 5.0v 50 75 mw po w er down supply current v s = 5.0v 10 30 a wa k eup time time to resume normal operation 3.5 5.0 s t emperature range operation -40 85 c storage -65 150 c notes: 1. inputs larger than this will be clipped. 2. inputs can be used fully differential if care is taken to offset signals so as to not force the outputs below 0v or above v s . the total input s wing is measured from one differential extreme, with respect to polarity, to the other, or twice the peak single-ended input r ange. 3. to insure full spec performance, an auto-calibration should be performed after initial turn-on when the device reaches therma l stability. 4. for all gains except g=1, output is assumed to be driven to 5v by the input signal level (v in x gain = 5v). when g=1, the maximum single ended input possible is 2.8v. the consequence is an output of 2.8v instead of 5v. computed snr is then 5db less because of the lower effective signal. with a true differential 2.5v input and g=1, output will again be a full 5v and snr will be equal to the valu e shown in the speci t cation table. 5. v in+ and v in- are connected together for this test. 6. measured between analog outputs, with an identical signal path con t guration used for each. one channel is driven with a 10khz signal and the other is not (input grounded). 7. computed 3db corner frequencies are 619khz, 401khz, 250khz, 169khz, 114khz, 74khz and 49khz. actual values found in pac- designer software. 8. logic inputs will exhibit positive current con t gured with a pull-down and negative current with a pull-up. 9. con t gured so all internal circuitry is powered on.
lattice semiconductor isppac30 preliminary data sheet 5 pin descriptions pins symbol name description pdip soic 15, 16, 17, 18, 25, 26, 27, 28 13, 14, 15, 16, 21, 22, 23, 24 in inputs 1, 2, 3, 4 (+ or -) plus or minus differential input pins, with two pins per input (e.g., in2+ and in2-). each are components of v in , where differential v in = v in+ - v in- . 65 msel1 multiplexer 1 control multiplexer logic input pin. selects either of two analog channels to ia1 (instrument ampli er). programmable pull-up, pull-down (default), or none. 44 msel2 multiplexer 2 control multiplexer logic input pin. selects either of two analog channels to ia4 (instrument ampli er). programmable pull-up, pull-down (default), or none. 21, 22 18, 19 out outputs 1 and 2 single-ended output pins. internal feedback to inputs accommodated. 20 17 vrefout voltage reference output internal voltage reference output pin (+2.5v nominal). must be bypassed to gnd with a 1 f capacitor. 13 11 enspi enable spi mode enable spi logic input pin. when high, causes serial port to run in spi mode. programmable pull-up or pull-down (default). 12 10 tms test mode select serial interface logic mode select pin (input). jtag interface mode only. internal pull-up. 11 9 tdo test data out serial interface logic pin (output) for both jtag and spi operation modes. programmable slew r ate, high or low (default). 98 tdi test data in serial interface logic pin (input) for both jtag and spi modes. internal pull-up. 87 tck test clock serial interface logic clock pin (input) for both jtag and spi modes. programmable pull-up, pull-down (default), or none. 76 cs chip select chip select logic input pin. spi data transfer enabled by this input. internal pull-up. 33 cal auto-calibrate digital pin (input). commands an auto-calibration sequence on a rising edge. internal pull-down. 22 pd pow er down po w er down enable logic pin (input). shuts down all power to device. programmable pull-up (default), pull-down or none. 14 12 vs supply voltage analog supply pin (5v nominal). should be b ypassed to gnd with 1 f and .01 f capaci- tors. 11 gnd ground ground pin. should normally be connected to the analog ground plane. 23 20 scom signal common analog signal common pin (sense). always con- nected to gnd. auto-calibration accuracy is determined with respect to this pin. 5, 10, 19, 24 ? nc no connects no internal connections are made to these pins in the pdip package.
lattice semiconductor isppac30 preliminary data sheet 6 connection notes: 1. all inputs are labeled with plus (+) and minus (-) signs. polarity is labeled for reference and can be selected e xternally by reversing pin connections or internally under user programmable control. 2. all analog output pins are ?hard-wired? to internal output pins and should be left open if not used. 3. when the signal input is single-ended, the unused half or the differential input (usually the ? or minus) must be connected gnd or some other reference point. if oa output is routed to an ia or mdac input, the minus input is automatically connected to 0v internally. absolute maximum ratings supply voltage v s . . . . . . . . . . . . . . . . . . . . . . . . . . . . -0.5 to +7v logic and analog input voltage applied. . . . . . . . . . . . . . . 0 to vs logic and analog output short circuit duration . . . . . . inde nite lead temperature (soldering, 10 sec.) . . . . . . . . . . . . . . . .260 c ambient temperature with power applied . . . . . . . . -55 to 125 c storage temperature . . . . . . . . . . . . . . . . . . . . . . . . -65 to 150 c note: stresses above those listed may cause permanent damage to the device. these are stress only ratings and functional operation of the device at these or at any other condition above those indicated in the operational sections of this speci cation is not implied. gnd 12 11 10 9 8 7 6 5 4 3 2 1 13 14 15 16 17 18 19 20 21 22 23 24 cal msel2 msel1 tck tdi tdo tms enspi vs in4- in4+ in3- in3+ scom out2 out1 in2- in2+ in1- in1+ pd cs isppac30 24-pin soic v ref1 ia mdac mdac ia ia v ref2 oa compare integrate amplify filter oa compare integrate amplify filter summation routing pool input/output routing pool ia jtag/spi interface logic & configuration memory auto-calibration 2.5v reference vrefout vrefout 13 14 15 16 17 18 19 20 21 22 23 24 in4- in4+ in3- in3+ scom out2 out1 in2- in2+ in1- in1+ gnd 12 11 10 9 8 7 6 5 4 3 2 1 cal msel2 msel1 tck tdi tdo tms enspi vs pd cs isppac30 28-pin pdip v ref1 ia mdac mdac ia ia v ref2 oa compare integrate amplify filter oa compare integrate amplify filter summation routing pool input/output routing pool ia 25 26 27 28 nc nc nc nc jtag/spi interface logic & configuration memory auto-calibration 2.5v reference
lattice semiconductor isppac30 preliminary data sheet 7 pa rt number description isppac30 ordering information pa ck ag e options pa rt number package ISPPAC30-01Pi 28-pin pdip isppac30-01si 24-pin soic device number isppac30 ? xx x x grade blank = commercial i = industrial performance grade 01 = standard package p = pdip s = soic device family isppac30 24-pin soic isppac30 28-pin pdip
lattice semiconductor isppac30 preliminary data sheet 8 timing speci cations (jtag interface mode) symbol parameter conditions min typ max tckmin min clock period ? 80ns tckl tck low time ? 40ns tckh tck high time ? 40ns tmss tms setup time ? 15ns tmsh tms hold time ? 4ns tdis tdi setup time ? 15ns tdih tdi hold time ? 8ns tdozx tdo delay float to valid ? 60ns tdov tdo delay clock to valid ? 60ns tdoxz tdo delay valid to float ? 145ns calmin minimum calibration pulse ? 40ns tck tms tdi tdo tdozx tdov tdih tdis tmss tmsh tckl tckh tckmin calmin tdoxz cal
lattice semiconductor isppac30 preliminary data sheet 9 timing speci cations (spi interface mode) symbol parameter min typ max tckmin min clock period 80ns tckl tck low time 40ns tckh tck high time 40ns tdis tdi setup time 5ns tdih tdi hold time 8ns tencss enspi rising edge to cs falling edge setup time 10ns tcsens cs rising edge to enspi falling edge setup time 10ns ttcsfs tck falling edge to cs falling edge setup time 10ns tcsfts cs falling edge to tck rising edge setup time 8ns ttcsrs tck falling edge to cs rising edge setup time 25ns tcsrts cs rising edge to tck rising edge setup time 10ns tcsbh cs min high time 60ns tdozx tdo delay float to valid 60ns tdov tdo delay clock to valid 60ns tdoxz tdo delay valid to float 145ns calmin minimum calibration pulse 30ns enspi tck tdi tdo c s msb lsb msb lsb lsb** **lsb of tdi byte just transferred 0 1 2. 6 7 tencss ttcsfs tcsfts tckh tckl tckmin tdis tdih tdozx tdov tdoxz ttcsrs tcsrts tcsbh tcsens
lattice semiconductor isppac30 preliminary data sheet 10 timing speci cations (e 2 programming and auto-cal) timing speci cations (auto-cal) symbol min clock period conditions min typ max tpwp time for a programming operation executed in run-test/idle 80ms 100ms tpwe time for an erase operation executed in run-test/idle 80ms 100ms symbol min clock period conditions min typ max tpwcal1 time for auto-cal operation on power-up automatically executed at power-up 140ms 250ms tcalmin minimum auto-cal pulse width ? 30ns tpwcal2 time for user initiated auto-cal operation executed on rising edge of cal 50ms 100ms tmss tmss tck tms tpwp, tpwe (prgcfg/clrall executed in run-test/idle state) cal (note: cal internally initiated at device turn-on.) v out = 0v v out tpwcal1, tpwcal2 tcalmin
lattice semiconductor isppac30 preliminary data sheet 11 t ypical performance characteristics 1 10 100 1k 10k 100k 1m frequency (hz) 10 100 1000 noise voltage (nv hz) noise: referred to input g = 10 10 100 1k 10k 100k 1m frequency (hz) 30 40 50 60 70 80 90 common mode rejection (db) 100 1k 10k 100k 1m frequency (hz) 40 30 50 60 70 80 90 power supply rejection (db ) input noise spectrum small signal bw vs. gain gain error (gain = 1 & 10) offset voltage (v os )v os tem pco thd vs. frequency output current drive cmr vs. frequency psr vs. frequency 1k 10k 100k frequency (hz) -90 -100 -80 -70 -60 -50 -40 to tal harmonic distortion (db) gain = 1 gain = 10 0 1 2 3 4 5 nominal output voltage (v) -50 -75 0 -25 25 50 75 resulting output current (ma) vout forced to nominal - 50mv vout forced to nominal + 50mv -1.0 -.2 +.2 +1.8 +1.0 -1.8 5 0 10 15 20 25 30 35 40 gain error (%) 3 wafer lots pdip pkg 0c to +85c 0 -1 +1 +2 -2 5 0 10 15 20 25 30 offset ( mv) 3 wafer lots pdip pkg +25c for all gains, output referred 0 -50 +50 +100 -100 5 0 10 15 20 25 30 percentage of devices (%) percentage of devices (%) percentage of devices (%) offset tempco ( v/c) 3 wafer lots pdip pkg -40c to +85c 1k 10k 100k 1m 10m frequency (hz) -20 -25 -10 -15 -5 0 10 -5 20 15 25 output amplitude (db) gain = 10 gain = 5 gain = 2 gain = 1
lattice semiconductor isppac30 preliminary data sheet 12 t ypical performance characteristics, continued gain = 1 load = 1k ; 600pf ? 20mv 1 s gain = 1 load = 1k ; 50pf ? 20mv 1 s gain = 1 load = 1k ; 600pf ? 0.625v 1 s gain = 1 load = 1k ; 50pf ? 0.625v 1 s large-signal response small-signal response step response setup diagram ia1 vref1 oa1 ia2 cfb=min 2.5v g=1 g=1 vout vin+ vin- vin+ 0.0 v 2.0 v 0.0 v 0.00 v 0.05 v 0.00 v vin- 2.0 v 0.0 v 2.0 v 0.05 v 0.00 v 0.05 v vref1 2.5 v 2.5 v 2.5 v 2.5 v 2.5 v 2.5 v vo ut 0.5 v 4.5 v 0.5 v 2.45 v 2.55 v 2.45 v large-signal small-signal
lattice semiconductor isppac30 preliminary data sheet 13 theory of operation general description the isppac30 provides programmable, multiple single-ended or differential signal inputs, precision gain, offset adjustment, ltering, and comparison functionality all in a single device. it also has complete routability of inputs or outputs to any input cell and then to either summing node of the internal output ampli ers. a key feature of the isppac30 is its capability of being recon gured in real time, apart from the operation of its non-volatile e 2 cmos or e 2 con guration memory. this enables the user to change or recon gure the isppac30 an unlimited number of times, such as in an automatic gain control circuit or other applications requiring ongoing parametric or routing changes. because a user chosen con guration is always stored in non-volatile e 2 con guration memory as well, there is a preset con guration ready to go when the device is rst turned on, or whenever a return to that stored state is required. of course, the e 2 con guration can be updated at any time during normal device operation as a completely transparent background operation. all of this functionality and e xibility is combined into the isppac30 as a single integrated circuit that greatly simpli es the otherwise burdensome task of designing and customizing circuitry for a wide variety of analog applications. the following sections of this data sheet give the user a thorough understanding of the general operation and design considerations necessary when using the isppac30. another resource that cannot be overlooked for under- standing the isppac30 is associated with the pac-designer software design tool. everything that can be con g- ured is accessible in a schematic entry based format. a complete appreciation of the isppac30?s capabilities is enhanced by exploring and using this design software early to learn more about it. because a simulator is included, the user can quickly test and prove operational modes and arrive at an understanding sooner while exploring device capabilities. complete documentation of pac-designer is included with the software. further technical insight into the isppac30 can be gained by referring to the many application notes and circuit solutions that directly relate to this device. all isppac technical support literature is available from the lattice semi- conductor web site at www .latticesemi.com . in addition, lattice provides expert applications support for all isppac devices and their usage. device input cells in an isppac30 device, any input pin can be routed to any of the four input instrument ampli ers (ia), two of which have dual input multiplexers, or to either of the two multiplying dac?s (mdac), or any combination of these. in addi- tion, either output ampli er (oa) can be routed to any or all of these same input cells. this enables great e xibility in how an isppac30 is con gured and allows many functions to be performed, such as signal summation, cas- caded gain blocks, complex feedback circuits, etc. at the isppac30 input pins, the input signal range that can be directly applied is 0 to 2.8v. when used differentially, the input pins can be of any polarity with respect to each other as long as the resultant signal is not expected to drive the oa outputs below 0v. normally, input signals will be single ended, in which case the minus input pin (v in- ) can be tied to ground. even with single ended measurements, the isppac30?s differential architecture can be used to an advantage as it will sense ground at the point where it is connected and will also reject any noise common to both ground and the input signal. input impedances at all input nodes are the same as would be expected for mos- fet devices, and are typically in the giga-ohm range. refer to the speci cations section for more detail. input instrument ampli ers the input ampli ers (ia?s) are referred to as instrument ampli ers because they take the difference of the two input pins and multiply it by the gain setting for which they have been con gured. with respect to true differential opera- tion, this means that a negative gain setting is merely a reversal of the plus and minus input (v in ) pins. this is the classical instrument ampli er function and also includes the previously mentioned bene t of remote sensing of sig- nals (not necessarily 0v referenced) and rejection of common mode signals. both ia?s and mdac?s connected to input signals also serve to buffer inputs by virtue of their very high input impedance.
lattice semiconductor isppac30 preliminary data sheet 14 input multiplexers tw o of the four input ia?s have dual input multiplexers in front of them. they constitute separately selectable input paths to their respective ia?s. these paths can be con gured either by external pin, or by setting internal e 2 bits. the control pins are named msel1 and msel2 and control the input path for ia1 and ia4, respectively. the deter- mination of whether either of these select pins asserted high or low for choosing path ?a? or ?b? internally, and whether an active pull-up or pull-down is programmed is all user-selectable from the software design interface f ound in pac-designer. the initial con guration is called out in the pin description table in the speci cations section of this data sheet. with multiplexer control, it is possible to bring in four different input signals and select between them, performing selective signal conditioning on each as required. or, one or more signals can be routed to one or both multiplexers and thus achieve multiple signal conditioning paths for the same input, selectable by external pins. finally, all parameters can also be controlled and/or programmed into e 2 con guration memory in real time using either the jtag or spi interface. internal voltage references tw o separate voltage references (vref1 and vref2) are available to provide x ed voltage references to the isppac30?s four ia?s or two mdac?s. seven voltage levels are available from each vref, and each vref is inde- pendently programmable from the other. table 1 lists the binary weighted values that are available (in addition to 2.5v) and the corresponding least signi cant bit (lsb) size if this vref value is applied to the input of either of the mdac?s. since the ia?s/mdac?s have plus and minus polarity control, vref outputs can be added or subtracted from other signals via the summation bus in addition to being scaled from 1 to 10 by the ia?s or attenuated in 128 steps by the mdacs. by selective combination of these various settings, a very large number of user control offset v oltages can be summed with any input signal. this is also the basis of how the isppac30 can be con gured as a comparator. with the output ampli er con gured as a comparator, an unknown signal is summed with a precise ref- erence value and an input above or below that reference level will cause a change in state of the output compara- tor. ta b le 1. available vref outputs input mdacs the isppac30 has two 8-bit (7+sign) multiplying digital to analog converters (mdac?s) available that accept as their reference input either external signals, internal signals or x ed dc voltages (such as the internal vrefs). the mul- tiplying dac function means that the input is multiplied (attenuated) by a value corresponding to the code setting of the dac, resulting in an output that can range from 100% of the input down to a 1 lsb (least signi cant bit weight) fraction of that value. the exact values output by the mdac versus input code are detailed in table 2. the e xibility of the isppac30 allows the mdac?s to act as adjustable attenuators of external input signals, thereby providing fractional or ne gain setting capability. it also means that in combination with the internal vref?s they can also be precision dc sources for providing x ed setpoints, offsets, etc. for example, with the same input signal applied to both an ia and mdac, and combining both at the summing junction of one of the oa?s, an integer gain of 1 to 10 plus the fractional gain as a result of the mdac attenuation is added together to achieve any gain value from -11 to +11 with a resolution of greater than 0.01 throughout, for a total of more than 2,500 gain settings. see the section on increasing mdac resolution for more information using the mdac?s as x ed references. vref (v) mdac lsb (mv) 0.064 0.5 0.128 1.0 0.256 2.0 0.512 4.0 1.024 8.0 2.048 16.0 2.500 19.5
lattice semiconductor isppac30 preliminary data sheet 15 more details about mdac performance are found in the speci cations section of the data sheet. it should be noted that the speci cations of the mdac?s in regard to bandwidth, gain and offset errors, and drift over temperature are equivalent to or better than those of the ia?s themselves. this means that in addition to having the same high- impedance characteristics of the ia?s, the mdac?s will perform in an equivalent fashion when used in combination with the ia?s as signal conditioning elements. predictable performance thereby results when mixing various combi- nations of input resources together. ta b le 2. outputs vs. digital input code increasing mdac effective resolution because the value of the isppac30?s voltage references can be set to several output voltages, ranging from 64mv to 2.5v, it is possible to use high-value mdac settings (>50% full scale) to synthesize most desired thresholds. this means that a given threshold (32mv or greater) can be set with a resolution of +/-0.8%. if a higher degree of resolution is needed, the two voltage references and mdacs can be combined in a coarse- ne adjustment scheme, as shown in figure 1. in this circuit, vref1 and mdac1 provide an adjustment range of 0-2.5v with 19.5mv of resolution, while vref2 and mdac2 provide an adjustment range of +/-64mv with 0.5mv of resolution. by adding these two sources together, a total adjustment range of 0-2.56v with an effective resolution of 0.5mv is achieved. figure 1. coarse-fine adjustment using two references code mdac equivalent voltage output vs. vref input (in volts) dec hex 0.0640 0.128 0.256 0.512 1.024 2.048 2.5000 vref input (v) 00 0 -100.0% -0.0640 -0.128 -0.256 -0.512 -1.024 -2.048 -2.5000 full scale 10 1 -99.2% -0.0635 -0.127 -0.254 -0.508 -1.016 -2.032 -2.4805 full scale + 1 lsb 32 20 -75.0% -0.0480 -0.096 -0.192 -0.384 -0.768 -1.536 -1.8750 64 40 -50.0% -0.0320 -0.064 -0.128 -0.256 -0.512 -1.024 -1.2500 96 60 -25.0% -0.0160 -0.032 -0.064 -0.128 -0.256 -0.512 -0.6250 127 7f -0.8% -0.0005 -0.001 -0.002 -0.004 -0.008 -0.016 -0.0195 bipolar zero - 1 lsb 128 80 0.0% 0.0000 0.000 0.000 0.000 0.000 0.000 0.0000 bipolar zero 129 81 0.8% 0.0005 0.001 0.002 0.004 0.008 0.016 0.0195 bipolar zero + 1 lsb 160 a0 25.0% 0.0160 0.032 0.064 0.128 0.256 0.512 0.6250 192 c0 50.0% 0.0320 0.064 0.128 0.256 0.512 1.024 1.2500 224 e0 75.0% 0.0480 0.096 0.192 0.384 0.768 1.536 1.8750 254 fe 98.4% 0.0630 0.126 0.252 0.504 1.008 2.016 2.4609 +full scale - 1 lsb 255 ff 99.2% 0.0635 0.127 0.254 0.508 1.016 2.032 2.4805 +full scale ?? 0.78% 0.00025 0.0005 0.001 0.002 0.004 0.008 0.0098 1 lsb (with sign) ?? 1.56% 0.00050 0.0010 0.002 0.004 0.008 0.016 0.0195 2 lsb (1 lsb, no sign) cp1 ia2 g=-1 in v mon links open comparator mode out1 isppac30 mdac1 mdac2 vref1=2.5v vref2=256mv
lattice semiconductor isppac30 preliminary data sheet 16 in this example, the effective resolution provided by combining the two references would normally require a 13-bit da c to replicate. keep in mind, however, that resolution is not the same as accuracy. the absolute accuracy pro- vided by an isppac30 using this technique is approximately equivalent to that provided by a 10-bit dac. in many situations, such as those in which a parameter is being interactively adjusted for optimal performance, absolute accuracy may not be of paramount importance. in this case, stability and resolution of the adjustment are more important than the absolute accuracy of the adjustment. interfacing to isppac inputs as mentioned in the previous ia section, any input voltage between 0 to 2.8v can be applied directly to an isppac30 input. to keep the output from trying to swing below 0v, if vin- is more positive than vin+, an offsetting signal must be applied to the appropriate summing node to balance or counteract the negative input. single-ended connections, however, only require that the minus input be connected to 0v or some other x ed voltage. more infor- mation on inputting signals to isppac30 can be found in application note an6026, interfacing to isppac differential inputs . although differential signaling offers many signi cant bene ts in a design, most analog designs today still use sin- gle-ended signals where system ?ground? is used as a global zero-volt reference. the differential inputs provided on isppac products provide more than enough e xibility to accommodate single-ended signals. figure 2. dc coupling a single-ended signal when using an isppac30 with a single-ended input (figure 2), tie the unused terminal to a reference voltage. since the common-mode input range for the isppac30 includes ground, the minus input is most often connected there. this results in an internal signal value which corresponds directly to the input signal voltage (e.g. a +1.67v input results in +1.67v of signal internally). when using an isppac30 in this manner, it will accommodate single-ended input signals ranging from 0v to +2.8v. in systems operating from single +5v supplies, it is often desirable to be able to accommodate rail-to-rail signals, which range from ground to the positive supply voltage (+5v). figure 3 shows an interface circuits that allows isppac30 inputs to accept 0-5v signals, where r1 and r2 divide down the signal input. figure 3. interfacing to a 0-5v dc signal ia 0v to +2.8v input isppac30 ia 100k ? ?
lattice semiconductor isppac30 preliminary data sheet 17 a ground-based current sense technique because the isppac30?s common-mode input range extends down to ground, this part is straightforward to use in applications with ground-referenced signals. an example of such an application is the current sensor shown in fig- ure 4. a 0-10a current input develops a voltage ranging from 0-1v across the 0.1 ? sense resistor. this application also illustrates one of the primary bene ts of differential signal processing. although one can sense the voltage at the resistor?s input terminal with a single-ended ampli er, this assumes that the ground terminal of the resistor is really at ground. at ampere-level currents, this is a big, and often unwarranted assumption which can result in sig- ni cant measurement errors. by sensing the actual voltage at both resistor terminals one can avoid this source of measurement error. figure 4. isppac30 sensing differential signals near ground in this particular application, where high currents are being measured, there may be the possibility that the volt- ages at the resistor terminals exceed those that the isppac30 can safely handle. if the input voltage becomes lower than -0.6v or higher than +5.6v, input protection diodes inside the device will begin to turn on and shunt input current to either ground or the positive power supply. in this case, since amperes of current are potentially avail- able, signi cant damage to the isppac30 could result if this occurs. resistors r2 and r3 protect against this possi- bility, by limiting maximum input current to safe levels (milliamperes) that the device?s input protection networks can readily handle. v oltage reference output the 2.5v voltage reference output of the isppac30 (vref out ) has a high impedance voltage output which should be buffered when using it as an external reference to drive other circuitry. it also should always be decoupled using the recommended capacitor speci ed in the pin description table of this data sheet. if it is used to reference a high impedance source (e.g., one that does not require more than 40 a), the vref out output can be connected to it directly. an example is shifting the dc level of a signal connected to the input pin of an isppac30. also, by using a current limiting resistor with the vref out pin, it may also be used without buffering and still provide a dc refer- ence. check the isppac applications literature for numerous examples of these and other useful techniques for using vref out . note: if the vref out pin is overloaded or disturbed, it will adversely affect the operation of the rest of the isppac30. output ampli t ers the isppac30 has two output ampli ers, or oa?s. the single-ended outputs of these ampli ers swing from 0v to +5v and are hard-wired internally to the output pins. in addition, the outputs are also routed and available for con- nection as inputs to any of the input ia?s or mdac?s. each oa can be con gured independently to function as either a full-bandwidth ampli er, a low-pass lter, an integrator or a comparator. all these con guration choices are accessed by the user via the pac-designer design entry software. they can also be recon gured along, with any other part of the isppac30, using jtag or spi serial interface control to directly communicate with the device. in addition to the multiple functions possible with the oa?s, another unique feature is that any or all of the ia?s and mdac?s can be selectively routed to either of the oa summing nodes. this provides the maximum amount of e xi- bility to the user over how the device is ultimately con gured. ia?s can be connected in parallel to one oa or the ia i in 0.1 ? 20w 10k ? 10k ? 100mv/a 0-10a r 1 r 2 r 3
lattice semiconductor isppac30 preliminary data sheet 18 other as necessary to achieve higher gains, for example. precision gain and offset con gurations can be imple- mented using different combinations of ia?s, mdac?s and vref?s to condition signals using a common summing junction to deliver the desired output result. the combination of analog input and summing node route options make the isppac30 very powerful in enabling so many different circuit possibilities. examples of possible circuits are included in the isppac30 applications literature. output ampli er functional modes the isppac30 output ampli ers (oa?s) can be con gured to act as wideband ampli ers, lowpass lters, integrators or comparators. each mode is determined by sram (or e 2 con guration memory at turn-on) control bits that open and close feedback elements around the oa?s. all available modes of oa operation can be con gured during the design phase using pac-designer software or during normal operation via jtag or spi serial interface control. ampli er/filter mode when con gured as a wideband ampli er, an isppac30?s oa feedback resistor connection is closed and the feed- back capacitor set to its minimum value. the feedback capacitance set is required to maintain necessary stability. when used in lter mode, the isppac30 differs from the wideband ampli er in that it has seven alternative feedback capacitor values available to form the lowpass lter corner frequencies. see table 3 for these values (listed as the maximum corner frequencies in the precision lter range table). the capacitor values are trimmed for each device to achieve an absolute pole frequency with an accuracy guaranteed to that given in the speci cations section. the rst order lter formed using the oa in this manner is not the only way a lter can be implemented using the isppac30. in the following precision ltering section, an example is given for using an oa in integrator mode and providing proportional feedback by putting one of the mdac?s into the feedback loop. when calculating equivalent time constants for isppac30 in lter mode, a nominal resistance of 50k ? can be assumed. the frequencies called out in pac-designer that are associated with individual feedback capacitor values are computed based on the measured ?3db frequency of a single ia/oa combination (gain=1). again, absolute accuracy is guaranteed as listed in the lter speci cations section for all devices shipped. integrator mode in integrator mode, an oa?s feedback capacitor is closed and the feedback resistor is open. operation then becomes that of an integrator, with the expected non-ideal effects of a real operational ampli er (having nite gain- bandwidth properties). the gain-phase simulator in the pac-designer will give the user a very good representation of these rst-order effects on ideal operation. the effective time-constant of any given integrator con guration can be computed knowing the feedback capacitor value and that an ia in a gain =1 will yield an effective input resis- tance, r, equal to 50k ? (1 time constant = 2 x x rc). this value of r is divided by the gain setting of the ia, so in a gain of 10 for example, r is equal to 5k ? . when an mdac is used as the input to an oa con gured as an integra- tor, the effective r is equal to 50k ? divided by the fraction of the input signal passed by the mdac. for example, if the mdac is set to a code that results in passing 50% of the input signal, then r is equal to 50k ? /0.5 or 100k ? . this can, of course, be used to advantage to either extend the effective time constant range or to ne tune it. comparator mode in comparator mode, both the feedback capacitor and resistor are opened around the oa. also, the internal com- pensation of the oa is altered to improve comparator output characteristics. since only one input is available to the oa in comparator mode, instead of the normally expected two, a slightly different approach is required to realize a true comparison function. this is done by using the reference voltage and summing it with the value it is to be com- pared with. whenever the input to be compared is greater than the reference input value the oa output is high and when it is less, the oa output is low. the logic sense of this comparator output can be controlled at will by selecting either plus or minus gains in the ia/mdac input sections. when examined closely, it may be observed that compar- ator mode operation appears identical to that of the integrator mode with a minimum feedback capacitance. this is true except in comparator mode the output compensation of the oa is altered to get optimum switching times. that means using the oa in other linear modes without this compensation enabled will likely result in unstable opera- tion. in pac-designer, the default con guration modes will not allow this to happen.
lattice semiconductor isppac30 preliminary data sheet 19 precision filter con guration figure 5. using the isppac30 as a variable lowpass filter with extended frequency range other lter frequencies are possible, in addition to the simple rst order lters available by selecting the seven avail- able capacitors of each isppac30 output ampli er. the isppac30 can be used to implement 1st-order tunable low- pass lters over a range of 5khz to over 600khz. figure 5 shows the circuit for doing so. this circuit operates by using mdac2 to emulate a programmable feedback resistor around output ampli er oa1. in this technique, the effective feedback resistance is inversely proportional to mdac gain. because negative feedback is essential to maintaining a stable loop, mdac2?s gain must be set to only negative values. in addition to decreasing the closed-loop bandwidth of oa1, fractional feedback gain also increases the closed loop dc gain. this increase must be compensated for if the lter is to maintain unity gain from input to output. because there are two mdacs in an isppac30, one way to do this is to attenuate the input signal through mdac1 by the same amount the feedback signal is attenuated by mdac2. to maintain signal polarity, however, mdac1 should be set to a positive gain. deliberately mismatching the values of mdac1 and mdac2 also allows one to alter the gain dynamically, providing a variable gain control feature. the following expressions can be used to esti- mate the resulting corner frequency (f c ) and gain, where f cap is the frequency associated with the feedback. f c = |f cap mdac2(n%)| (1) gain = |mdac1(n%) / mdac2(n%)| (2) note that mdac2 (n%) must be negative, and that mdac1 (n%) should normally be positive for the single-ended system shown in figure 5. although this technique can be used to control the corner frequency over a range of 128:1, the attenuation caused by a very low mdac1 setting can reduce the lter's overall signal-to-noise ratio and increase effective dc offset and gain errors to unacceptable levels. table 3 shows the ranges of corner frequencies that can be realized with this technique when limiting mdac2 settings between -10.16% and -100%. mdac1 mdac2 oa1 out1 in1 mdac1 n% mdac2 n% ?integrator? mode c f isppac30 v in
lattice semiconductor isppac30 preliminary data sheet 20 ta b le 3. precision filter con?uration ranges po wer-down mode the isppac30 features a power-down mode whereby the current consumption of the device is reduced to a few microamps. in this mode, the logic sections of the device are still fully active, but draw very little power. this means communication can be maintained with the device while it is in the powered-down state. in the analog sections, the bias currents are reduced or turned off and all sections that can be, are shut down. the analog outputs go to a high impedance state in power-down mode. the maximum current in shutdown mode and the time required to resume normal operation all are speci ed in the speci cations section of this data sheet. programming or erasing of the e 2 con guration memory is not supported when an isppac30 is powered down. power-down mode is commanded by lowering the pd pin to a logic low, or by commanding it through jtag or spi serial mode commands. in addition to full power-down mode, either of the output ampli ers can be shut down independently of all other cir- cuitry. this can be done at any time by setting internal e 2 bits under jtag or spi command to reduce power con- sumption while the rest of the isppac30 is in normal operation. this could also be accomplished at the time the device is programmed initially via dialog box commands available in the pac-designer software. note: any ia or mdac that has nothing connected to its input is also automatically shut down. jtag user con gurable bits there are a number of user-con gured e 2 bits that control all aspects of isppac30. these bits can all be accessed somewhere in either the pull-down menus or directly in the schematic design entry screen of the pac-designer soft- w are used to interface to the isppac30. see the online help associated with the isppac30 in pac-designer for more details of how to set/program various operation modes. the list of control e 2 bits available are listed in tables 4 and 5. feedback capacitor # o a1 feedback capacitor value (pf) minimum corner frequency (khz) maximum corner frequency (khz) frequency step (khz) 1 4.320pf 63 619 4.86 2 7.156pf 41 401 3.13 3 11.97pf 25 250 1.95 4 18.16pf 17 169 1.31 5 27.29pf 11 114 0.88 6 42.37pf 7 74 0.58 7 64.01pf 5 49 0.38
lattice semiconductor isppac30 preliminary data sheet 21 ta b le 4. jtag con?uration register (cfg) bits ta b le 5. jtag ues register and esf bits a uto-calibration mode every time the isppac30 is powered up, an automatic auto-calibration sequence is initiated. if this adversely affects system operation, provisions must be incorporated that minimize the result as auto-calibration cannot be defeated. the auto-calibration of the isppac30 effectively isolates it from external connections and drives the inputs of the device to 0v and checks to see that there is zero offset at the outputs. this check is done maintaining the input-to- symbol name description arp bits analog routing pool bits these various bits control the interconnect from input pins to ia?s and mdacs, as well as where the vref?s go and which input resources are summed with one oa or the other and whether those oa?s are fed back to any of the input cells. calsel cal level select any of the six input devices, ia1, ia2, ia3, ia4, mdac1 and mdac2 can be selected independently to have auto calibration performed with 0v (default) or 2.5v applied to their inputs. because of common-mode errors, choose the level closest to the operating levels for the lowest offset after an auto-cal operation. enspipu enable spi mode pull-up this bit can set the device for dedicated spi mode operation without any e xternal strapping of the pin being required. note that normal jtag opera- tions cannot occur, such as programming by pac-designer when spi mode is enabled. fbcap feedback capacitor bits to control the seven capacitors of each of oa?s. iagain input ampli er gain these bits determine the gain of ia1, ia2, ia3, and ia4 (from 1 to 10). iapol input ampli er polarity these bits determine polarity of ia1, ia2, ia3, and ia4 (positive or inverted). mdaccode mdac code bits to control the code settings of mdac1 and mdac2. mselpol mux select 1 & 2 polarity determines via programmed bits whether a logic high activates input a or b of either of the multiplexers in front of ia1 and ia4. mselpu1/2 mux select 1 & 2 pu/pd programs whether msel1 and msel2 have internal pull-ups or pull-downs. oa cfg output amp con guration determines through various bits whether oa1 and oa2 are acting as lters (both feedback resistor and capacitor in circuit), or as integrators (only the capacitor in feedback), or as comparators (neither feedback resistor or capacitor in circuit). o apd1/2 output amp power-down either or both of the output ampli ers can be commanded in power-down mode without the rest of the chip having to be powered down. in this state, their outputs are effectively in high-impedance mode. pu/pd bits pull-up/down a number of pins on the pac30 have internal, programmable pull-up and pull-down capability. see the pin description table in the speci cation sec- tion for details on which pins and their default (shipped) states. tdoslew bit tdo slew rate the serial digital data output pin has two output slew rates. the default is low to reduce digital disruption of the analog circuitry. sometimes a higher slew rate is needed, so it is provided as a programmable option. vref1, vref2 voltage references 1 and 2 these bits set any of the seven available voltage outputs of vref1 and vref2. symbol name description ues bits user electronic signature these are uncommitted e 2 bits that can be used to store device information f or future reference. the isppac30 contains 16 ues bits. these bits are accessible from within pac-designer by using the edit symbol, ues bits command. esf electronic security fuse setting this bit causes all subsequent readouts of the device con guration to be disabled (jtag verify commands). can be reset by performing a jtag user bulk erase command and reprogramming the device. this fea- ture is used to prevent unauthorized readout of the device?s con guration.
lattice semiconductor isppac30 preliminary data sheet 22 output relationships determined by the current circuit con guration, or in the case of initial turn-on, the stored con- guration of the device. during the auto-calibration sequence, the output ampli ers are driven to 0v and any offset error from input to output is calibrated out during a successive-approximation sequence using an internal offset cal- ibration dac. this calibration setting is not stored in e 2 , hence the need to perform calibration every time the device is powered on. the ground reference for auto-calibration is the scom pin. the scom pin must be connected to the gnd pin (0v), preferably in a ground plane. since scom must be at, or very near the same potential as gnd, connection to any other point is not recommended. in addition to the automatic power-on calibration, an auto-calibration sequence can be commanded at any time using the external cal logic pin, or by issuing an encal command via the jtag or spi serial interface. the timing and length of the auto-calibration sequence is called out in the speci cation tables of this data sheet. note: two options are available for calibrating each of the four input ia?s and two mdacs, with respect to what input level is used for auto-calibration. normally, the inputs are calibrated with a 0v input reference (the default setting). but when the input common mode voltage is recognized to be closer to 2.5v, the user can specify that 2.5v be set as the input calibration level. the ia/mdac inputs can be set to use any combination of 0v or 2.5v as their auto-cal common-mode reference. this allows the least amount of common-mode error to enter into the offset adjustment, dependent on the user?s predetermined operating conditions. spi vs. jtag operation the jtag serial interface is usually suf cient for programming the isppac30, but complete support is also provided f or the serial peripheral interface (spi) mode as well. spi is often chosen when an embedded controller or processor is used to actively control and con gure an isppac30 in-system. spi mode can be enabled via the logic level setting of the enspi pin. to achieve full control of an isppac30, all possible bits used in con guration (112) must be set each time the con guration is updated. this full set of con guration bits is referred to as the cfg or con guration register. there is also a shorter con guration register called the cfgq or quick con guration reg- ister (40 bits). here, only the bits most often used in recon guration are accessed. less commonly used bits, such as those which determine routing, are left out to simplify and speed up the serial transfer of data. detailed informa- tion about spi mode operation is found in application note an6027, which is devoted entirely to the subject of spi control. software-based design environment design entry software designers con gure the isppac30 and verify its performance using pac-designer, an easy to use, microsoft win- dows compatible program. circuit designs are entered graphically and then veri ed, all within the pac-designer environment. full device programming is supported using pc parallel port i/o operations and a download cable connected to the serial programming interface pins of the isppac30. a library of con gurations is included with basic solutions and examples of advanced circuit techniques are available on the lattice web site for downloading. in addition, comprehensive on-line and printed documentation is provided that covers all aspects of pac-designer operation. the pac-designer schematic window, shown below in figure 6, provides access to all con gurable isppac30 ele- ments via its graphical user interface. all analog input and output pins are represented. static or non-con gurable pins such as power, ground, vrefout, and the serial digital interface are omitted for clarity. any element in the schematic window can be accessed via mouse operations as well as menu commands. when completed, con gu- r ations can be saved, simulated, and downloaded to devices.
lattice semiconductor isppac30 preliminary data sheet 23 figure 6. pac-designer design entry screen design simulation capability a powerful feature of pac-designer is its simulation capability, enabling quick and accurate veri cation of circuit operation and performance. once a circuit is con gured via the interactive design process, gain and phase response between any input and output can then be simulated. this function is part of the simulator capability which derives a transfer equation between the two points and then sweeps it over the user-speci ed frequency r ange. figure 7 shows a typical screen plot of the gain/phase simulator. figure 7. pac-designer simulation plot screen pac designer - [isppac30.pac: schematic ] read y file edit view tools options window help oa1 1.02 p f oa2 1.02 p f ia1 - 1 ia2 1 ia3 - 1 ia4 1 mdac1 code: 00h -100% mdac2 code: 00h -100 % vref1: 64mv vref2: 64mv digita l i/o configuration m sel1 = 0 (a) msel2 = 0 (a) ues bits = 000 000000000000 0 in 1 in2 in3 in4 out1 out2 b a b a pac desig ner - [isppac30.pac: plot ] read y file edit view tools options window help 0 -20 0 20 40 100 1k 10k 100k 1m gain plot 0 -50 -100 -150 0 50 100 150 100 1k 10k 100k 1m phase plot
lattice semiconductor isppac30 preliminary data sheet 24 in-system programming the isppac30 is an in-system programmable device. this is accomplished by integrating all e 2 con guration mem- ory and sram control logic on-chip. programming is performed through a 4-wire, ieee 1149.1 compliant serial jtag interface at normal logic levels. once a device is programmed, all con guration information is stored on-chip, in non-volatile e 2 cmos memory cells. the speci cs of the ieee 1149.1 serial interface and all isppac30 instruc- tions are described in the jtag interface section of this data sheet. user electronic signature a user electronic signature (ues) feature is included in the e 2 cmos memory of the isppac30. this consists of 16 bits that can be con gured by the user to store unique data such as id codes, revision numbers or inventory control data. the speci cs this feature are discussed in the ieee 1149.1 serial interface section of this data sheet. electronic security an electronic security ?fuse? (esf) bit is provided in every isppac30 device to prevent unauthorized readout of the e 2 cmos con guration bit patterns. once programmed, this cell prevents further access to the functional user bits in the device. this cell can only be erased by reprogramming the device, so the original con guration can not be e xamined once programmed. usage of this feature is optional. the speci cs of this feature are discussed in the ieee 1149.1 serial interface section of this data sheet. production programming support once a nal con guration is determined, an ascii format jedec le can be created using the pac-designer soft- w are. devices can then be ordered through the usual supply channels with the user?s speci c con guration already preloaded into the devices. by virtue of its standard interface, compatibility is maintained with existing production programming equipment, giving customers a wide degree of freedom and e xibility in production planning. evaluation fixture included in the basic isppac30 design kit is an engineering prototype board that can be connected to the parallel port of a pc using a lattice download cable. it demonstrates proper layout techniques for the isppac30 and can be used in real time to check circuit operation as part of the design process. input and output connections as well as a ?breadboard? circuit area are provided to speed debugging of the circuit. this board is also useful as a program- ming xture for prototype and short production runs. figure 8. download to a pc ieee standard 1149.1 interface serial port programming interface communication with the isppac30 is facilitated via an ieee 1149.1 test access port (tap). it is used by the isppac30 as a serial programming interface, and not for boundary scan test purposes. ispdownload cable (6') 4 other system circuitry isppac30 device pa c-designer software
lattice semiconductor isppac30 preliminary data sheet 25 there are no boundary scan logic cells in the isppac30 architecture. this does not prevent the isppac30 from functioning correctly, however, when placed in a valid serial chain with other ieee 1149.1 compliant devices. a brief description of the isppac30 jtag interface follows. for complete details of the reference speci cation, refer to the publication, standard test access port and boundary-scan architecture, ieee std 1149.1-1990 (which now includes ieee std 1149.1a-1993). for complete documentation on how to use isppac30 in an embedded serial interface control environment using the spi protocol, please refer to application note an6027, using spi to con?- ure and control the isppac30 . overview an ieee 1149.1 test access port (tap) provides the control interface for serially accessing the digital i/o of the isppac30. the tap controller is a state machine driven with mode and clock inputs. given in the correct sequence, instructions are shifted into an instruction register which then determines subsequent data input, data output, and related operations. device programming is performed by addressing the con guration register, shifting data in, and then executing a program con guration instruction, after which the data is transferred to internal e 2 cmos cells. it is these non-volatile cells that store the con guration or the isppac30. a separate set of sram registers are pre- loaded at turn-on and determine the con guration of the isppac30 while it is under power. by cycling the tap con- troller through the necessary states, data can also be shifted out of the con guration register to verify the current isppac30 con guration in the control sram or of the stored e 2 con guration memory. instructions exist to access all data registers and perform other internal control operations. f or compatibility between compliant devices, two data registers are mandated by the ieee 1149.1 speci cation. others are functionally speci ed, but inclusion is strictly optional. finally, there are provisions for optional data reg- isters de ned by the manufacturer. the two required registers are the bypass and boundary-scan registers. for isppac30, the bypass register is a 1-bit shift register that provides a short path through the device when boundary testing or other operations are not being performed. the isppac30, as mentioned, has no boundary scan logic and therefore no boundary scan register. all instructions relating to boundary scan operations place the isppac30 in the bypass mode to maintain compliance with the speci cation. the optional identi cation register described in ieee 1149.1 is also included in the isppac30. tw o additional data registers are included in the tap of the isppac30 are the lattice de ned cfg/cfgq (con gu- r ation and quick con guration) and ues (user electronic signature) registers. figure 9 shows how the instruction and various data registers are placed in an isppac30. figure 9. tap registers tdi tdo tck tms cf g/ cf gq re gi st er (112/40 bits) idco de register (32 bits) bypass register (1 bit) in struction register (6 bits) t est access port (t ap) logic output latch ues register (16 bits) mu lt ip l exer e2 non-volatile memory sram device configuration
lattice semiconductor isppac30 preliminary data sheet 26 t ap controller speci cs the tap is controlled by the test clock (tck) and test mode select (tms) inputs. these inputs determine whether an instruction register or data register operation is performed. driven by the tck input, the tap consists of a small 16-state controller design. in a given state, the controller responds according to the level on the tms input as shown in figure 10. test data in (tdi) and tms are latched on the rising edge of tck, with test data out (tdo) becoming valid on the falling edge of tck. there are six steady states within the controller: test-logic-reset, run- t est/idle, shift-data-register, pause-data-register, shift-instruction-register and pause-instruction-register. but there is only one steady state for the condition when tms is set high: the test-logic-reset state. this allows a reset of the test logic within ve tcks or less by keeping the tms input high. test-logic-reset is the power-on default state. figure 10. tap states when the correct logic sequence is applied to the tms and tck inputs, the tap will exit the test-logic-reset state and move to the desired state. the next state after test-logic-reset is run-test/idle. until a data or instruction shift is performed, no action will occur in run-test/idle (steady state = idle). after run-test/idle, either a data or instruc- tion shift is performed. the states of the data and instruction register blocks are identical to each other differing only in their entry points. when either block is entered, the rst action is a capture operation. for the data regis- ters, the capture-dr state is very simple: it captures (parallel loads) data onto the selected serial data path (previ- ously chosen with the appropriate instruction). for the instruction register, the capture-ir state will always load the idcode instruction. it will always enable the id register for readout if no other instruction is loaded prior to a shift-dr operation. this, in conjunction with mandated bit codes, allows a ?blind? interrogation of any device in a compliant ieee 1149.1 serial chain. f rom the capture state, the tap transitions to either the shift or exit1 state. normally the shift state follows the capture state so that test data or status information can be shifted out or new data shifted in. following the shift state, the tap either returns to the run-test/idle state via the exit1 and update states or enters the pause state via exit1. the pause state is used to temporarily suspend the shifting of data through either the data or instruction register while an external operation is performed. from the pause state, shifting can resume by reentering the shift state via the exit2 state or be terminated by entering the run-test/idle state via the exit2 and update states. if the proper instruction is shifted in during a shift-ir operation, the next entry into run-test/idle initiates the test mode (steady state = test). this is when the device is actually programmed, erased or veri ed. all other instructions are executed in the update state. te st-logic-rst run-test/idle select-dr-scan select-ir-scan capture-dr capture-ir shift-dr shift-ir exit1-dr exit1-ir pause-dr pause-ir exit2-dr exit2-ir update-dr update-ir 1 0 00 0 0 00 11 00 00 11 11 00 11 00 11 11 11 1 0 note: the value shown adjacent to each state transition in this figure represents the signal present at tms at the time of a rising edge at tck.
lattice semiconductor isppac30 preliminary data sheet 27 t est instructions like data registers, the ieee 1149.1 standard also mandates the inclusion of certain instructions. it outlines the function of three required and six optional instructions. any additional instructions are left exclusively for the manu- f acturer to determine. the instruction word length is not mandated other than to be a minimum of two bits, with only the bypass and extest instruction code patterns being speci cally called out (all ones and all zeroes respec- tively). the isppac30 contains the required minimum instruction set as well as one from the optional instruction set. in addition, there are several proprietary instructions that allow the device to be con gured and veri ed. for isppac30, the instruction word length is six bits. all isppac30 instructions available to users are shown in table 6. ta b le 6. isppac30 tap instructions table bypass is one of the three required jtag instructions. it selects the bypass register to be connected between tdi and tdo and allows serial data to be transferred through the device without affecting the operation of the isppac30. the bit code of this instruction is de ned to be all ones by the ieee 1149.1 standard. with isppac30, any instruction beginning with a one will default to bypass. the jtag required sample/preload instruction dictates the boundary-scan register be connected between tdi and tdo. the isppac30 has no boundary-scan register, so for compatibility it defaults to the bypass mode whenever this instruction is received. the bit code for this instruction is de ned by lattice as shown in table 6. the extest (external test) instruction is jtag required and would normally place the device into an external boundary test mode while also enabling the boundary-scan register to be connected between tdi and tdo. again, since the isppac30 has no boundary-scan logic, the device is put in the bypass mode to ensure speci ca- tion compatibility. the bit code of this instruction is de ned by the 1149.1 standard to be all zeros. the optional idcode (identi cation code) instruction is incorporated in the isppac30 and leaves it in its functional mode when executed. it selects the device identi cation register to be connected between tdi and tdo. the identi cation register is a 32-bit shift register containing information regarding the ic manufacturer, device type and version code (see figure 12). access to the identi cation register is immediately available, via a tap data instruction code description extest 000000 external test. defaults to bypass. addcfg 000001 address cfg data register (112 bits). addcfgq 000010 address cfg quick data register (40 bits). addues 000011 address ues data register (16 bits). latchcfg 000101 latch cfg register into control sram. readcfg 000110 read cfg from e 2 prior to addcfg command. readues 001010 read ues from e 2 prior to addues command. progues 001011 program shift register contents into ues e 2 . progcfg 001100 program shift register contents into cfg e 2 . idcode 001101 address identi cation code data register. progesf 010001 program the electronic security fuse bit. powerdn 010010 command a power down sequence. powerup 010011 command a power up sequence. reloadcfg 010110 load cfg e 2 into control sram. erasecfg 010111 erase the cfg/cfgq e 2 memory. eraseues 011011 erase the ues e 2 memory. encal 011100 enable a calibration sequence. cfgbe 011101 bulk erase all e 2 memory (cfg, ues and esf). sample 011110 sample/preload. default to bypass. bypass 111111 bypass (connect tdi to tdo).
lattice semiconductor isppac30 preliminary data sheet 28 scan operation, after power-up of the device, or by issuing a test-logic-reset instruction. the bit code for this instruction is de ned by lattice as shown in table 6. figure 12. id code isppac30 speci c instructions there are three unique address instructions speci ed by lattice for the isppac30. they are addcfg (address cfg), addcfgq (address the cfg quick, or short register), and addues (address the ues or user electronic signature register). they all select their respective registers to be shifted into through tdi during a shift-dr opera- tion. normal operation of a device is not interrupted by the execution of these instructions. they usually proceed a program instruction (progcfg, or progues) for putting the shifted data into e 2 con guration memory or a load (latchcfg) for putting data into the device control sram directly. the bit codes for these instructions are found in ta b le 6. there are three unique program instructions speci ed by lattice for the isppac30. they are progues (program ues), progcfg (program cfg), and progesf (program the electronic security fuse bit). the rst two store their respective registers into e 2 con guration memory. the third, progesf, has no register associated with it. it simply sets the esf bit so shifting out cfg information is no longer possible. the only way to recover the ability to shift out meaningful data is to reset esf by performing a cfgbe instruction. this, of course will reset the device con guration as well, but will keep an unauthorized user from learning the bit pattern of the device. normal opera- tion of the device is not interrupted during the actual programming time. a programming operation does not begin until entry of the run-test/idle state. the programming time required to insure data retention is given in the timing speci cations. the user must ensure that the recommended programming times are observed to ensure speci ed data retention. note: when initially programming or reprogramming the isppac30 with software other than pac- designer, or an authorized third-party programmer (e.g., via microcontroller), refer to the additional lattice techni- cal literature covering the required algorithms necessary for complete jtag and spi device programming control of the isppac30 (speci c bit assignments, word lengths, etc.). there are two unique load instructions speci ed by lattice for the isppac30. they are the latchcfg (load cfg register) and reloadcfg (load cfg from e 2 ). these instructions load the data in either the cfg register or the stored e 2 con guration into the isppac30 device control sram. the latchcfg updates all or a portion of the control sram, depending on whether the preceding address cfg was an addcfg or addcfgq instruction. the load operation does not occur until entry of the run-test/idle state. settling time for the new con guration will depend on the con guration and time-constants of the particular circuit and can be anywhere from microseconds to milliseconds. the actual switching to make the change, however, always occurs in less than a microsecond once the run-test/idle state is entered. the bit codes for these instructions are shown in table 6. there are two unique read instructions speci ed by lattice for the isppac30. they are the readcfg (read cfg) and readues (read user electronic signature). these instructions read data out of the corresponding e 2 con gu- r ation memory into either the cfg or ues register. this is done in preparation for either an addcfg or addues and then a subsequent shifting out of the data in these registers. normal operation of a device is not interrupted by the execution of these instructions. the bit code for these instructions are shown in table 6. the encal (enable calibration) is a unique lattice instruction that enables the start of an auto-calibration sequence. this operation causes both output ampli ers to go to 0v until the calibration sequence is completed msb xxxx / 0000 0001 0011 0000 / 0000 0100 001 / 1 lsb vers ion (4-bits) e 2 configured part number (16-bits) 0130h = pac30 jedec manfacturer identity code for lattice semiconductor (11-bits) constant 1 (1-bit) per 1149.1-1990
lattice semiconductor isppac30 preliminary data sheet 29 (see timing speci cations). as with the programming instructions above, calibration does not begin until entry of the run-test/idle state. the completion of the calibration is not dependent, however, on any further tap control. this means the state of the tap can be returned immediately to the test-logic-reset state. the only consideration w ould be to not clock the tap during critical analog operations. the rst several milliseconds of the calibration rou- tine are consumed waiting for con gurations to settle, though, leaving more than enough time to clock the tap back to the test-logic-reset state. the bit code for this instruction is shown in table 6. the powerdn (power down command) and powerup (power up command) are unique instructions speci ed by lattice for the isppac30 to command the normal and low-power or shut-down states of the device. as with other instructions above, these instructions do not begin until entry of the run-test/idle state. timing for coming out of power-down mode as well as supply current used in this mode are speci ed in the spec tables of this data sheet. all analog is shut down and outputs are in a high-impedance mode during power-down state. device digital cir- cuitry is not shut down and consumes no power unless it is clocked, and even then only a minimal amount. the bit code for these instructions is shown in table 6. the last unique lattice instructions are erasecfg (erase or clear cfg), eraseues (erase or clear the ues) and cfgbe (erase or clear all user memory). these instructions set all the bits of their respective e 2 storage cells to all zeros. operation of the device is not interrupted during any of these instructions. the cfgbe is used to return all user controlled bits to a zero state at the same time (cfg, ues and esf) and is the only way to erase the esf bit. the condition after a cfgbe instruction is the default condition of parts shipped from the factory. the same programming timing constraints apply to these instructions as for the prog programming instructions listed above. the bit code for these instructions are shown in table 6. important note: programming e 2 con guration memory can only program ones into a device, not zeros. erase instructions are required to change all bits to zero rst. the normal sequence to re-program e 2 con guration memory is rst erase either the cfg or ues e 2 cells and then program them with the desired bit sequence and prg instructions. once again, the jtag prog, latchcfg, erase, powerup, powerdn, reloadcfg and encal instruc- tions do not execute until entry of the run-test/idle state. all other instructions are executed in the update-ir state, allowing shifts and other operations to occur without having to leave the inner loop of the jtag controller. it is recommended that when all serial interface operations are completed, the tap controller be reset and left in the test-logic-reset state (the power-up default) and the tck and tms inputs idled. this will insure the best ana- log performance possible by minimizing the effects of digital logic ?feed-through.?
lattice semiconductor isppac30 preliminary data sheet 30 pa ck ag e diagrams 28-pin pdip (dimensions in inches) 24-pin soic (dimensions in millimeters)


▲Up To Search▲   

 
Price & Availability of ISPPAC30-01P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X